package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the REGDOMAIN database table.
 * 
 */
@Entity
@Table(name="REGDOMAIN")
public class Regdomain implements Serializable {
	private static final long serialVersionUID = 1L;
	private long regdomid;
	private String approve;
	private String approvers;
	private String controllerclass;
	private String description;
	private String emailaslogin;
	private String emailvalidate;
	private String groupname;
	private String name;
	private String notapprovedgrp;
	private String notreggrp;
	private String regrequired;
	private String userpasswd;

    public Regdomain() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(unique=true, nullable=false)
	public long getRegdomid() {
		return this.regdomid;
	}

	public void setRegdomid(long regdomid) {
		this.regdomid = regdomid;
	}


	@Column(length=1)
	public String getApprove() {
		return this.approve;
	}

	public void setApprove(String approve) {
		this.approve = approve;
	}


	@Column(length=4000)
	public String getApprovers() {
		return this.approvers;
	}

	public void setApprovers(String approvers) {
		this.approvers = approvers;
	}


	@Column(length=128)
	public String getControllerclass() {
		return this.controllerclass;
	}

	public void setControllerclass(String controllerclass) {
		this.controllerclass = controllerclass;
	}


	@Column(nullable=false, length=128)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}


	@Column(length=1)
	public String getEmailaslogin() {
		return this.emailaslogin;
	}

	public void setEmailaslogin(String emailaslogin) {
		this.emailaslogin = emailaslogin;
	}


	@Column(length=1)
	public String getEmailvalidate() {
		return this.emailvalidate;
	}

	public void setEmailvalidate(String emailvalidate) {
		this.emailvalidate = emailvalidate;
	}


	@Column(nullable=false, length=10)
	public String getGroupname() {
		return this.groupname;
	}

	public void setGroupname(String groupname) {
		this.groupname = groupname;
	}


	@Column(nullable=false, length=30)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}


	@Column(length=10)
	public String getNotapprovedgrp() {
		return this.notapprovedgrp;
	}

	public void setNotapprovedgrp(String notapprovedgrp) {
		this.notapprovedgrp = notapprovedgrp;
	}


	@Column(length=10)
	public String getNotreggrp() {
		return this.notreggrp;
	}

	public void setNotreggrp(String notreggrp) {
		this.notreggrp = notreggrp;
	}


	@Column(length=1)
	public String getRegrequired() {
		return this.regrequired;
	}

	public void setRegrequired(String regrequired) {
		this.regrequired = regrequired;
	}


	@Column(length=1)
	public String getUserpasswd() {
		return this.userpasswd;
	}

	public void setUserpasswd(String userpasswd) {
		this.userpasswd = userpasswd;
	}

}